#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int main() {
    int a = 0, b = 0;
    int arr[10] = { 0 };
    for (int i = 0; i < 10; i++) {
        scanf("%d", &arr[i]);
    }
    for (int i = 0; i < 10; i++) {
        if (arr[i] > 0) {
            a++;
        }
        if (arr[i] < 0) {
            b++;
        }
    }
    printf("positive:%d\n", a);
    printf("negative:%d\n", b);
    return 0;
}